﻿using System;

namespace Terraria.ModLoader
{
	// Token: 0x020001BF RID: 447
	public abstract class ModUgBgStyle
	{
		// Token: 0x17000148 RID: 328
		// (get) Token: 0x060012B7 RID: 4791 RVA: 0x0000F9A9 File Offset: 0x0000DBA9
		// (set) Token: 0x060012B8 RID: 4792 RVA: 0x0000F9B1 File Offset: 0x0000DBB1
		public Mod mod { get; internal set; }

		// Token: 0x17000149 RID: 329
		// (get) Token: 0x060012B9 RID: 4793 RVA: 0x0000F9BA File Offset: 0x0000DBBA
		// (set) Token: 0x060012BA RID: 4794 RVA: 0x0000F9C2 File Offset: 0x0000DBC2
		public string Name { get; internal set; }

		// Token: 0x1700014A RID: 330
		// (get) Token: 0x060012BB RID: 4795 RVA: 0x0000F9CB File Offset: 0x0000DBCB
		// (set) Token: 0x060012BC RID: 4796 RVA: 0x0000F9D3 File Offset: 0x0000DBD3
		public int Slot { get; internal set; }

		// Token: 0x060012BD RID: 4797 RVA: 0x0000F9DC File Offset: 0x0000DBDC
		public virtual bool Autoload(ref string name)
		{
			return this.mod.Properties.Autoload;
		}

		// Token: 0x060012BE RID: 4798 RVA: 0x0000ADF8 File Offset: 0x00008FF8
		public virtual bool ChooseBgStyle()
		{
			return false;
		}

		// Token: 0x060012BF RID: 4799
		public abstract void FillTextureArray(int[] textureSlots);
	}
}
